package com.ccloud.api.motorfactory.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ccloud.api.motorfactory.domain.MApplicationMotorModel;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 应用车型表 服务类
 * </p>
 *
 * @author chentl
 * @since 2022-04-09
 */
public interface IMApplicationMotorModelService extends IService<MApplicationMotorModel> {

    /**
     * 分頁列表查詢
     * @param page 分頁參數
     * @param applicationMotorModel 查询对象
     * @return IPage
     */
    IPage<MApplicationMotorModel> selectPage(@Param("page") Page<MApplicationMotorModel> page, @Param("applicationMotorModel") MApplicationMotorModel applicationMotorModel);

    Integer maxVal();

    List<MApplicationMotorModel> getMap();
}
